/**
 * LightBox Style Sheet
 * Gallery Module
 *
 * Copyright (c) 2013. by Way2CU
 * Author: Mladen Mijatov
 */

div#lightbox-background {
	display: none;
	width: 100%;
	height: 100%;

	position: fixed;
	top: 0px;
	left: 0px;

	background-color: black;
	z-index: 100000;
}

div#lightbox {
	display: none;
	position: fixed;
	z-index: 100001;
}

div#lightbox div.title_bar {
	display: block;
	min-height: 20px;
	margin-bottom: 5px;

	text-align: left;
}

body.rtl div#lightbox div.title_bar {
	text-align: right;
}

div#lightbox a.close_button {
	display: inline-block;
	width: 20px;
	height: 20px;

	float: right;

	border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: white;
	background-image: url(../../backend/images/close_normal.gif);
	background-repeat: no-repeat;
	background-position: center center;

	color: #333333;
	text-decoration: none;
	cursor: pointer;
}

body.rtl div#lightbox a.close_button {
	float: left;
}

div#lightbox a.close_button:hover {
	background-color: #999999;
	background-image: url(../../backend/images/close_active.gif);
}

div#lightbox div.title {
	display: inline-block;
	width: 0px;

	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;

	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;

	color: #333333;
	font-weight: bold;
}

div#lightbox div.content {
	display: block;

	position: relative;

	padding: 5px;
	margin-bottom: 5px;

	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;

	overflow: hidden;
}

div#lightbox div.content img {
	-moz-border-radius: 3px;
	border-radius: 3px;
}

div#lightbox div.content.loading {
	background-image: url(../../backend/images/loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

div#lightbox div.description {
	display: block;

	padding: 5px;

	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;

	color: #555555;
	font-weight: normal;
	overflow-y: auto;
}

div#lightbox a.button {
	display: block;
	width: 35px;
	height: 80px;

	position: absolute;
	top: 50%;
	margin-top: -40px;

	background-color: white;
	background-position: center center;
	background-repeat: no-repeat;

	cursor: pointer;
}

div#lightbox a.button.next {
	right: -35px;
	-moz-border-radius: 0px 7px 7px 0px;
	border-radius: 0px 7px 7px 0px;
	background-image: url(../images/next.png);
}

div#lightbox a.button.previous {
	left: -35px;
	-moz-border-radius: 7px 0px 0px 7px;
	border-radius: 7px 0px 0px 7px;
	background-image: url(../images/previous.png);
}
